import {NextRequest, NextResponse} from "next/server";
import {prisma} from "@/lib/db";

export async function GET(req: NextRequest) {
    const resumes = await prisma.resume.findMany({
        include:{
            student: true, // 关联学生信息
        }
    })
    return NextResponse.json({resumes})
}